package com.yike.user.strategy.login.source;

import com.yike.common.vo.LoginUserInfoVo;
import lombok.extern.java.Log;
import org.springframework.stereotype.Component;

/**
 * @author Sakura
 * @date 2024/8/20 11:26
 * 账号密码登录
 */
@Component
@Log
public class UserLoginStrategy implements LoginSourceStrategy {

    @Override
    public void login(LoginUserInfoVo loginUserInfoVo) {
        // 保存用户类型
        loginUserInfoVo.setType(1);

    }
}
